Return result as hash