updated to return "_id" & "_rev" fields on profile objects instead of "id" & "rev"