amended JSON serialization of port bindings to conform to the documentation