Add keyspec support to `fromjsonarray`.

I think this is more along the lines of consistent behavior with the rest of RecordStream, but let me know if I'm too far astray.