added function to convert random objects to builtin types
to allow for easy json conversion
simple ai test passes but no special powers yet