Better handling of deep hash json in POST