changed back to not needing to urlencode mappings file - this was based on a misunderstanding that post content had to be url-encoded - in fact i was using wrong curl option (--data-ascii instead of --data-binary)