Modify component and plaintext controllers to serve json for backbone