Another attempt at making this headless stuff work with spinach