create JSON representable object from Your Class and vice versa.