class-level mapping in controllers was fixed
json serialization with jackson 2