1. Changed the JSON notation to "natural". In this notation, all single 
element lists will be emitted as arrays, ints/longs without quotes etc.

2. Fixed the upload servlet so that it checks for empty strings and byte
content to be > 0 before setting these values in the DB.