Actually make flags_from_json public