Support Marshal.dump for Response/Resource objects fixes #17