clean up aapi response into some neater RDF