Improve the `custom_payload_config` access by using a ruby hash methods