fix payload parsing in collection json if no data was sent