Make json_encode aware of included bags, fix object recursion, and wrap arrays in []
Make json_encode aware of included bags, fix object recursion, and wrap arrays in []

shamrin/Eve,nmsmith/Eve,witheve/Eve,shamrin/Eve,shamrin/Eve,nmsmith/Eve,nmsmith/Eve,witheve/Eve,witheve/Eve