Moving options to application/json method