using subdicts to parse post data in views