Hack controller accepting dictionary and sending json