Reads JSON in.