Added tests for list classes and user classes binding. Updated output
generator to output the 'data' key.