add jsx to decode json responses, add tests