Collector now supports submit by form data as well as json

Use POST /swarms/XXXXXX for form data submission
Use POST /swarms/XXXXXX.json for json object submission