Change the signature of converToOpen311 for streaming array input
Swap places of methods
Trim the response to get rid of white spaces
Add a legacy method for sync operations in case we want to go back
Pipe the output asynchronously via Node Streams
Remove the check for tail fragment, as that happens to be just a closing bracket
Add application/json header
Refactor the adapter to handle XML
Make the response type conditional to expected format
Extend the XML output method
Make the response type conditional to expected format