Allow empty valid json objects in write api

Previously empty arrays or empty objects would cause a 400 because
they're falsy.
Rename test
Merge pull request #31 from alphagov/empty-json

Allow empty valid json objects in write api