get json from phantomas, parse it and store in object