adding way to manually define json