add metadata object to profile response objects