Allow non-json data input across all 'from' endpoints

Fixes #338