use @selectors for associated keys
add modelClassForJson: method which can be used to implement polymorphic JSON classes