Implement better data encoding for ajax requests, deep objects work now