Added debug output for payload
Extended function deliver in fillFormCtrl. This function will now build entry to be sent to DHIS. Be aware of error in building the JSON string, see TODO.