Add support for root keys

I noticed root keys couldn't be set from the controller's render json options.
and the ones here, there should only be one space