apigee/usergrid-stack — pull request #222 by snoopdave (2013-09-27 19:50:58+00:00)
Title: Usergrid 2318 - "name" property returns twice in AppServices response

This change prevents the the duplicate "name" fields in the JSON representation of DynamicEntity. The problem is that the name is included in both the dynamic property and property collections. That causes a name field to be created for the getName() getter and again for the getDynamicProperties() "any getter."

The fix is to add a name field to the DynamicEntity class and mark it with the EntityProperty annotation. The annotation specifies that the name is not required and is indexed.