better json output, basic asset handling