added JSON decode to Gravity GET --KW