Added 2 more rest APIs and updated to return json content type