adding decode to response to allow for direct parsing