gets json postcode output and stuff