Fix inline editing

changes are on getRenderedFields, it returns a json and not anymore a list in order to use it directly in the datagrid template. 
In same time, it avoids an UnicodeError found at this part.