Convert JSON response to php Array