Fixed bug in Abstract Json Rest Controller