Mambo - JSON rendering as a view in Rails