Badgerfish implementation of serialization from a Map into Xml
serialize(map(), map()) :: {:ok, binary()} | {:error, term()}