return response as decoded json