improved json output in build file