Cleaned up controller, it was returnning double nested JSON [[{..}]]