#622 fixed issue with failing inserts via REST.
Merge pull request #623 from joola/feature/#622

#622 fixed issue with failing inserts via REST.