rewrite json output generation

instead of specific json .ctp's for each view, parameterize Model/Entity
$_json_aliases can be used to replace property names
$_json_short contains the properties to include in a nested/listing structure