Fixed a bug where POST requests failed due to an unmodifiable fields map