added Json API

web services for all entities, so far only findall has been tested,
barely works!