Common library for studio_spec and kiwi_spec