Play2 controller for JSON based resources