adding fromJson to convert JS objects to Leisure objects (maybe change these to toJS and fromJS?)