implemented JSONRepresentationOfManagedObject