json decoding of request body through HttpInput and InputStreamReader