call ejson_for_indexing from chef_object behaviour modules