Add sendJson method to Mvc\Controller and hasFile property to Form