using express, generating json representing prototype data structure for threading through react