'Get JSON serializable object.
:returns: Serializable JSON object representing ACME typed object.
:meth:`validate` will almost certainly not work, due to reasons
explained in :class:`acme.interfaces.IJSONSerializable`.
:rtype: dict'

def to_partial_json(self):

    jobj = self.fields_to_partial_json()
    jobj[self.type_field_name] = self.typ
    return jobj
