Is that okay to use JErrorPage for a JSON view?