Code refactor

Added new method convertToRexsterObject which lets you convert a normal
object to a rexster friendly key:value object