consumes to separate form from JSON