Implement JSON response decoding