Refining rest api domain model and changing arrays to lists
Fixing JSON de-serialization issue in GET /applications method