Added json parsing code

Added code and aJSON library to parse the incoming JSON object.