MyToJSON class to insert id-field as required by ExtJS