Added test for openrosa serialization code.

Removed unnecessary code from serializer and cleaned up whitespace in json_xls_convert.