only call toJSON on the relation if the method exists
fixing doc link
more consistent model query resets, just prior to execution, other cleanup
0.2.4