Added loop to add all fields in spec to op object so that custom fields defined in spec make it to the JSON output.
Merge pull request #47 from nprds/master

Support for custom fields in operations.