handle single document in post on sub resource