Updated docs with example of from_json