added load_data view to handle json