More enhancements. Added custom encoder for json as well as Article and Articles collections.