add example for creating bucket type from JSON file