LPS-51719 Resubmit - Alloy Portlet - implement respondWith to handle json response