more updates to read json