Query self-referenced table returning reference object in the result

*I figured out that this issue belongs to this module rather than where I originally posted - https://github.com/rbygrave/avaje-ebeanorm/issues/1 - so I closed that one and created this one here.*

*Created from google group https://groups.google.com/d/topic/ebean/55L7_s_yFJo/discussion*

I come in to the a problem when trying to query against a self-referenced table recently. *There is a similar post here https://groups.google.com/d/topic/play-framework/Bi0x40OvHPM/discussion in play-framework group.*

**Problem Description**
Query against a table containing self-referenced FK returns a list containing some reference object, thus any further usage of that reference object will invoke another query (lazy load) against the database. If I use Ebean.createJsonContext().toJsonString to conver the result to JSON, the reference object will only be something like {"id": 1}.

I created a sample project on github https://github.com/peter-fu/ebean-self-ref-sample demonstrating the issue.

Best Regards,
Peter