CRM-15168 Alter pseudo-api getfields to get full metadata