Use builtin elgg_format_attributes