Currently the log command does not print the entire object it is restrained. Fix it with this: https://stackoverflow.com/a/10729284/6168422